<template>
    <div class="searchList_box" >
        <div class="item" v-for="(item,index) in goodsList " :key="index">{{item.goods_name}}</div>
    </div>
</template>

<script>
    export default {
        props:["goodsList"]
    }
</script>

<style lang="less" scoped>
.searchList_box{
    width: 100%;
    padding: 12px;
    background-color: white;
    box-sizing: border-box;
    .item{
        height: 45px;
        line-height: 45px;
        font-size: 14px;
        color: #333;
        border-bottom: 1px solid rgba(136, 136, 136, 0.1);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
</style>